<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="style/css/top.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" language="javascript" src="style/js/jquery.js"></script>
<script type="text/javascript" language="javascript" src="style/js/login.js"></script>
<title>系统头部</title>
<style>
body {
	background: #007400;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	margin:0px;
	margin-top:-5px;
}
h1 {
	color: #FFF;
	font-family:"黑体";
}
em{
	color:#FFD13A;
	font-family:Arial, Helvetica, sans-serif;
}
a {
	color: #FFF;
	text-decoration: none;/*防止滤镜下链接失效*/
	position:relative;
}
ul {
	list-style:none;
}
span{
	float:right;
	width:80px;
	height:25px;
	text-align:center;
	line-height:25px;
	font-weight:normal;
}
#all {
	width: 100%;
}
#banner {
	margin-top: 8px;
	margin-left: 32px;
}
#main {
	width: 100%;
	background:#333333;
/*	background:#E9F4DA;
*/	margin-left: 0px;
	margin-right:0px;
	height: 25px;
	color:#EEF7E6;
	/*color: #475645;*/
	line-height:25px;
	overflow: hidden;
}
#main a {
	/*color:#000;*/
	color:#EEF7E6;
}
#welcome {
	float:left;
	width: 100%;
	font-weight: 800;
	padding-left: 8px;
	position:relative;
}

#nav {
	width: 100%;
	clear: both;
}
#nav ul li {
	float: right;
	width:82px;
	height:25px;
	line-height: 25px;
	text-align: center;
}
.inactive {
	background-image/**/:url(style/images/nav_bg_inactive2.png) !important;
	background: none;
	margin-left: 2px;
	margin-right:2px;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=style/images/nav_bg_inactive2.png);
}
.inactive a {
	color: #000;
}
.active {
	background:url(style/images/nav_bg_active2.png) !important;
	background: none;
	margin-left: 2px;
	margin-right:2px;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=style/images/nav_bg_active2.png);
}
.active a {
	color:#fff;
}
.blankgray {
	background:#bbb;
	height:2px;
	width:100%;
	margin:0;
	padding:0;
	clear:both;
	font-size:2px;
}
</style>
</head>

<body>
<div id="all">
  <div id="banner">
    <h1>图书管理系统<em>Powered By YZG</em></h1>
  </div>
  <div id="nav">
    <ul>
      <li class="inactive" id="about"><a href="main.php" target="main">系统设置</a></li>
      <li class="inactive" id="user"><a href="member_main.php" target="main">读者管理</a></li>
      <li class="inactive" id="mars"><a href="borrow_book_main.php" target="main">图书借还</a></li>
      <li class="inactive" id="jielong"><a href="books_main.php" target="main">图书管理</a></li>
      <li class="active" id="config"><a href="main.php" target="main">管理首页</a></li>
    </ul>
  </div>
  <div id="main">
    <div id="welcome">欢迎你回来，<?php echo $_SESSION['userid'];?>！&nbsp;&nbsp;现在时间:<?php echo $timer;?>
    <span><a href="index.php?action=logout" target="_top" onclick="return confirm('你确定要退出图书馆里系统？');">注销登录</a></span>
    <span><a href="../index.php" target="_top">系统首页</a></span>
    </div>
  </div>
</div>
</body>
</html>
